I've got tool length comp and tool changes working as I want, using both Mach3 and KMotionCNC. So the next thing to tackle is probing, starting with Mach3.
There is a file NotifyProbeMach3.c in the C Programs directory. I assume this "talks to" the plug-in to make G31 work with Mach3? If so, it appears all I need to modify is the PROBE_BIT and PROBE_ACTIVE_STATE #defines, to make it work. Is that correct?
I'm also curious - the probe loop is:
while (ReadBit(PROBE_BIT)!=PROBE_ACTIVE_STATE) {
WaitNextTimeSlice();
}
How long is each time slice? The PROBE input really should be checked after every step, but it doesn't appear to me this is likely to accomplish that unless the feedrate is very low. Since I do probing with the tool, and a touch-plate, that could lead to broken tools. Am I missing something?
Regards,
Ray L.
|